<include file="application/admin/view/public/left.html"/>
<div id="dcMain">
   <!-- 当前位置 -->
<div id="urHere">管理中心<b>></b><strong>日志类型修改</strong> </div>   <div class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
            <h3><a href="{:U('Finance/type')}" class="actionBtn">日志类型列表</a>日志类型修改</h3>
    <form action="{:U('Finance/update')}" method="post" enctype="multipart/form-data">
     <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
     
      <tr>
        <tr>
        <td width="90" align="right">名称：</td>
        <td>
          <input type="text" name='name' value="{$list.name}" size="50" class="inpMain">
          <input type="hidden" name='id' value="{$list.id}" size="50" class="inpMain">
        </td>
      </tr>
      
      <tr>
      	<td width="90" align="right">状态：</td>
      	<td>
      		<input type="radio" value="0" name="status" id="0" <if condition= "$list.status eq 0">checked="checked"</if>/>不显示
			<input type="radio" value="1" name="status" id="1"	<if condition= "$list.status eq 1">checked="checked"</if>/>显示
      	</td>
      </tr>
      
      <tr>
      	<td width="90" align="right">封面图片：</td>
      	<td>
          <notempty name="list.pic">
               <img style=" width:50px; padding-left:20px;" src='{$list.pic}' /><else/>暂无图片数据
            </notempty>
      		
      	</td>
      </tr>
      <tr>
       <td width="90" align="right">上传图片：</td>
       <td>
       		<input type="file" name="pic" value="{$list.pic}" >
       </td>
      </tr>
      
      
      <tr>
       <td></td>
       <td>
        <input name="submit" class="btn" type="submit" value="提交" />
       </td>
      </tr>
     </table>
    </form>
       </div>
 </div>
 <div class="clear"></div>
<include file="application/admin/view/public/foot.html"/><!-- dcFooter 结束 -->
<div class="clear"></div> </div>
 <script type="text/javascript">
 
 onload = function()
 {
   document.forms['action'].reset();
 }

 function douAction()
 {
     var frm = document.forms['action'];

     frm.elements['new_cat_id'].style.display = frm.elements['action'].value == 'category_move' ? '' : 'none';
 }
 
 </script>
</body>
</html>